class Comment < ActiveRecord::Base
  set_table_name :eshop_comments

  default_scope order('created_at ASC')

  belongs_to :user
  belongs_to :order
  belongs_to :product

  validates :comment, :presence => true
end
